package com.easy.linkerbuilder;

public class ActionModel {
    private int index;
    private String warning;
    private boolean nullable;

    public ActionModel(int index, String warning, boolean nullable) {
        this.index = index;
        this.warning = warning;
        this.nullable = nullable;
    }

    public int getIndex() {
        return index;
    }

    public ActionModel setIndex(int index) {
        this.index = index;
        return this;
    }

    public String getWarning() {
        return warning;
    }

    public ActionModel setWarning(String warning) {
        this.warning = warning;
        return this;
    }

    public boolean isNullable() {
        return nullable;
    }

    public ActionModel setNullable(boolean nullable) {
        this.nullable = nullable;
        return this;
    }
}
